package com.candy.mmcock;

/**
 * @author donglin
 * @Title:
 * @类名: Test01
 * @date 2020/6/2
 */
public class Test01 {
    public static void main(String[] args) {
        Kitchen kt=new Kitchen();
        Mother mm=new Mother(kt);
        Child c1=new Child("tom",kt,10);
        Child c2=new Child("mary",kt,6);
        Child c3=new Child("tony",kt,4);
        mm.start();
        c1.start();
        c2.start();
        c3.start();
    }
}
